LeetCode: Largest Rectangle in Histogram(直方圖最大面積)
http://blog.csdn.net/abcbc/article/details/8943485 具體的題目描述為: Given n non-negative integers repr ...
http://blog.csdn.net/abcbc/article/details/8943485 具體的題目描述為: Given n non-negative integers repr ...
參考:http://www.cppblog.com/wicbnu/archive/2013/03/18/198565.html 我太喜歡用dfs和回溯法了,但是這些暴力的方法加上剪枝之后復雜度依然是 ...